#include<iostream>
#include<signal.h>

using namespace std;
void Use()
{
    cout<<"./mykill signal? pid@"<<endl;
}
int main(int argc,char*argv[])
{
    if(argc == 3)
    {
        int signal = atoi(argv[1]);
        pid_t pid = atoi(argv[2]);
        kill(pid,signal);
    }
    else 
    {
        Use();
    }

    return 0;
}